<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="node_modules/jquery/dist/jquery.js"></script>
    <script src="node_modules/lodash/lodash.js"></script>
    <script src="dist/1.2.6/midway/facade.umd.js"></script>
    <script src="components/DemoComponent.es5.js"></script>
</head>
<body>

<div id="demo_dev">
    <h1 class="lang_abacus_frame">这是一个测试用页面</h1>
</div>

<div class="demo_class_style demo_style">
    这是一个测试的页面
</div>

<script>

    Midware.globalConfig({
        LanguageBasePath: "ref/languages",
    });
    Midware.startup({async: false});

    Midware.i18nManager.loadLanguage('Abacus', 'zh_cn').done(function (data) {
        console.log(data);
    });


    //demo.sayHello();

    /*var demo2 = new DemoComponent();;
    demo2.run(null, null);*/

    //demo2.sayHello();


    /*extendModuleRequire("DemoExtendModule").then(function (model) {
        console.log("first", model);
    });
    
    setTimeout(function () {
        extendModuleRequire("DemoExtendModule").then(function (model) {
            console.log("second", model);
        });
    }, 2000);*/
    
</script>

</body>
</html>